# -*- coding: utf-8 -*-
"""
@date: 2021/8/24 19:55
@file: data_csv.py
@author: lilong
@desc: 
"""


import pandas as pd


with open('../data/mar_text_sim/data/few-shot-44k-class.txt', 'r', encoding='utf-8') as f:
    lines = f.readlines()
    _lines = [line.strip().split('\t') for line in lines]
    df = pd.DataFrame(_lines)
    df.to_csv('./data/few-shot-44k-class.csv', header=None, index=False,  sep='\t')
